package com.cn.entity;

public class Messages {
	int messageid;
	String date;
	int userid;
	String topic;
	String detail;
	
	
	public int getMessageid() {
		return messageid;
	}
	public void setMessageid(int messageid) {
		this.messageid = messageid;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getTopic() {
		return topic;
	}
	public void setTopic(String topic) {
		this.topic = topic;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	public Messages(int messageid, String date, int userid, String topic,
			String detail) {
		super();
		this.messageid = messageid;
		this.date = date;
		this.userid = userid;
		this.topic = topic;
		this.detail = detail;
	}
	
	public Messages(String date, int userid, String topic, String detail) {
		super();
		this.date = date;
		this.userid = userid;
		this.topic = topic;
		this.detail = detail;
	}
	
	public Messages() {
		super();
	}
	public Messages(int userid, String topic, String detail) {
		super();
		this.userid = userid;
		this.topic = topic;
		this.detail = detail;
	}
	public Messages(String topic, String detail) {
		super();
		this.topic = topic;
		this.detail = detail;
	}
	
	
	

}
